/**
* Vista asociada al contenido 
* con la interfaz que muestra usuario sin permisos
* en el aplicativo.
*/
Ext.define("entgpv11.view.MenuUser00", {
    extend: 'Ext.form.Panel',
    alias: "widget.menuuser00",
    config: {
	     scrollable: 'vertical',
		 layout: 'vbox'
    },
	initialize: function () {
        this.callParent(arguments);
		this.backButton = {
            xtype: "button",
            ui: "back",
           iconCls: "reply",iconMask: true,
            handler: this.onBackButtonTap,
            scope: this
        };
				
        this.topToolbar = {
            xtype: "toolbar",
            docked: "top",
            title: "",
            items: [
                this.backButton,
                { xtype: "spacer" }
            ]
        };
        this.bottomToolbar = {
            xtype: "toolbar",
            docked: "bottom",
            items: [
                
            ]
        };
		this.infoMore1 =
        {
            xtype: 'panel',
            html: '<center>Usuario con acseso restringido</center> <hr>'
        };
    
		this.imgTop = 
		{
           xtype: 'image',
		   src:'resources/images/var/myfooter.png',
		   flex: 1
        }; 
		this.infoMore2 =
        {
            xtype: 'panel',
            flex: 2,
            html: '<img src="resources/images/var/icodir.png" width="16" height="14" alt="icons" class="icons"/><a href="http://www.enovatraining.ec/">http://www.enovatraining.ec</a><br/><img src="resources/images/var/icomail.png" width="16" height="14" alt="icons" class="icons"/><p3>info@enovatraining.com</p3></br>					 <img src="resources/images/var/icotel.png" width="16" height="14" alt="icons" class="icons"/><p3>593-072-570275</p3>'
        };
		this.infoMore3 =
        {
            xtype: 'panel',
            html: '<hr>'
        };
		this.add([
				this.topToolbar,
				this.infoMore1, 
				{ 
					xtype: "panel",
					layout: 'hbox',
					items: [this.imgTop,this.infoMore2]
				},
				this.infoMore3,
				this.bottomToolbar
		]);
	},
    onBackButtonTap: function () 
    {
          this.fireEvent("backButtonTapCommand", this);
    }
});